/*
 * @Description: 项目级成本科目初始化数据模型
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2024-03-04 10:01:45
 * @LastEditTime: 2024-03-29 10:36:07
 * @FilePath: \cscec-pms-admin\src\views\businessAffairs\businessCostPlanManagement\costPlanManagement\costPlan\components\InformationInit\components\CostAccountInit\model.js
 */
// 表单配置
const formOption = [
  {
    label: '项目业态',
    keyName: 'type',
    type: 'a-select',
    span: 12,
    data: []
  },
  {
    label: '项目类型',
    keyName: 'projectTypeName',
    type: 'BaseInput',
    disabled: true,
    span: 12,
  }
]
// 表头
const columns = [
  {
    title: '序号',
    width: 80,
    align: 'center',
    dataIndex: 'sortNumStr',
  },
  {
    title: '项目名称',
    width: 200,
    dataIndex: 'name',
  },
  {
    title: '成本科目编码',
    width: 200,
    dataIndex: 'code',
  }
]
// 新增表单配置
const formOption1 = [
  {
    label: '科目名称',
    keyName: 'projectFormat',
    type: 'BaseInput',
    span: 12,
    rules: [{ required: true, message: '请输入', trigger: 'change' }],
  }
  // {
  //   label: '项目类型',
  //   keyName: 'projectType',
  //   type: 'a-select',
  //   span: 6,
  //   data: []
  // }
]
export {
  formOption,
  columns,
  formOption1
}
